package com.flection.summer.loadbalance;

import java.util.ArrayList;
import java.util.List;
import com.netflix.loadbalancer.Server;

/**
 * 
 * @author thnl
 *
 * @param <K>
 */
public class RouteRandom<K extends Server> {
	// TODO
	public RouteRandom(List<K> serverList) {
		this.serverList = serverList;
	}

	public K random() {// TODO
		return serverList.get(1);
	}

	private List<K> serverList = new ArrayList<>();
}